from scrapy import cmdline
import os
os.chdir('myspider/spiders')
cmdline.execute('scrapy crawl job'.split())